package Dynamic_programming;

import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * @Description: $
 * @Param: $
 * @return: $
 * @Author 万家欣
 * @Date: 2022/6/28
 * Algorithm
 * @Version 1.0
 */
public class Demo1 {

    private int id;

    private String name;

    private int age;

    private List<Demo2> demo2; // List<?> 也可以

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public List<Demo2> getDemo2() {
        return demo2;
    }

    public void setDemo2(List<Demo2> demo2) {
        this.demo2 = demo2;
    }
}
